Http://yangyubo.com/unit-testing-guidelines/.Source: http://geosoft.no/development/unittesting.htmlTranslator (yospaly:If no detailed specification proved by practice is provided during the implementation of unit tests, it is difficult to grasp the "
I. Software Testing Methods
1. software testing methods include white box testing, black box testing, gray box testing, static testing, and dynamic testing.
2. white-box testing: it is a test case design method. Here the box refers to the software
1. IntroductionDesigning test inputs and corresponding expected outputs is one of the most basic technical activities of any testing organization. Both the test input data and the corresponding expected output are written to the test case. A
Design is a common concept that is generally understood to form a plan or framework beforehand for something that is about to be done. (Oxford English Dictionary), design is a kind of art, system, hardware or more things to weave the main line.
One, Test Cases is the core of software testing.
The importance of software testing is beyond doubt. But how to complete the test in the shortest time with the least manpower and resources, discover the flaw of the software system, guarantee the
Read Catalogue
Recommendation 1: Do not appear in constants and variables easily confusing letters
Recommendation 2: Never let a constant degenerate into a variable
Recommendation 3: The types of ternary operators must be consistent
Read Catalogue
Recommendation 1: Do not appear in constants and variables easily confusing letters
Recommendation 2: Never let a constant degenerate into a variable
Recommendation 3: The types of ternary operators must be consistent
Read Catalogue
Recommendation 16: Variable business use scripting language
Recommendation 17: Use dynamic compilation with caution
Recommendation 18: Avoid instanceof unintended results
Recommendation 19: Assertions are
1. Purpose of Unit Testing
A unit test examines the "one unit" of the product's program code separately from the entire system and checks to see if the results are expected. The size of the "one unit" to be tested is based on the size of a coherent
Chapter 4 high-quality test code
4.1Test code must also have high quality
Some developers think that the test code is not the product code delivered to the end user, but used for internal testing. Therefore, the quality is lower than the product
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.